// 菜单配置
// headerMenuConfig：头部导航配置
// asideMenuConfig：侧边导航配置

const headerMenuConfig = [
  // {
  //   name: '首页',
  //   path: '/',
  //   to: '/',
  //   icon: 'home',
  // },
  // {
  //   name: '反馈',
  //   path: 'https://github.com/alibaba/ice',
  //   external: true,
  //   newWindow: true,
  //   icon: 'message',
  // },
  // {
  //   name: '帮助',
  //   path: 'https://alibaba.github.io/ice',
  //   external: true,
  //   newWindow: true,
  //   icon: 'bangzhu',
  // },
];

const asideMenuConfig = [
  {
    name: "首页",
    path: "/",
    icon: "home"
  },
  {
    name: "评论管理",
    path: "/comment",
    icon: "copy",
    children: [
      { name: "菜系评论", path: "/comment/cuisine" },
      { name: "餐厅评论", path: "/comment/canteen" }
    ]
  },
  {
    name: "活动管理",
    path: "/activity",
    icon: "hourglass",
    children: [
      { name: "活动列表", path: "/activity/list" },
      { name: "发布活动", path: "/activity/createActivity" }
    ]
  },
  {
    name: "用户管理",
    path: "/user",
    icon: "yonghu",
    children: [
      { name: "用户列表", path: "/user/userList" },
      { name: "管理员列表", path: "/user/adminList" },
      { name: "添加管理员", path: "/user/createAdmin" }
    ]
  },
  {
    name: "意见管理",
    path: "/feedback",
    icon: "publish"
  }
];

export { headerMenuConfig, asideMenuConfig };
